import QtQuick 1.0
import Box2D 1.0

Body{
	id: body

	width: 28
	height: 28
	sleepingAllowed: true

	fixtures: Box {
		anchors.fill: parent
		density: 1;
		friction: 0.4;
		restitution: 0.5;
	}

	Image {
		anchors.fill: parent
		anchors.margins: -1
		source: "qrc:///qml/images/log.png"
	}

//	Charge{
//		id: charge
//	}

//	MouseArea {
//		anchors.fill: parent
//		onClicked: {
//			for(var i = 0; i < 5; i++){
//			var t = charge.createObject(body.parent)
//			t.x = body.x
//			t.y = body.y
//			}
//		}
//	}

}
